package com.eattravel.pojo;

import java.util.Date;

public class CommentCom {
    private Long id;
    // 总评id
    private Long topicId;
    // 子评论的id
    private String commentId;
    // 评论类型
    private String topicType;
    // 评论内容
    private String content;
    // 评论来自的用户id
    private String fromUid;
    // 上级评论用户id
    private String toTpid;
    // 评论时间
    private Date comTime;

    // 用户
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTopicId() {
        return topicId;
    }

    public void setTopicId(Long topicId) {
        this.topicId = topicId;
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId == null ? null : commentId.trim();
    }

    public String getTopicType() {
        return topicType;
    }

    public void setTopicType(String topicType) {
        this.topicType = topicType == null ? null : topicType.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getFromUid() {
        return fromUid;
    }

    public void setFromUid(String fromUid) {
        this.fromUid = fromUid == null ? null : fromUid.trim();
    }

    public String getToTpid() {
        return toTpid;
    }

    public void setToTpid(String toTpid) {
        this.toTpid = toTpid == null ? null : toTpid.trim();
    }

    public Date getComTime() {
        return comTime;
    }

    public void setComTime(Date comTime) {
        this.comTime = comTime;
    }
}